import { createApp } from 'vue'
import App from './App.vue'
import router from './router/index.js'
import mypinia from './mypinia.js'


// 全局css
import './assets/css/base-tw.css'
import './assets/font/common/iconfont.css'
import '@mdi/font/css/materialdesignicons.min.css'


// Vuetify
import 'vuetify/styles'
import { createVuetify } from 'vuetify'
import * as components from 'vuetify/components'
import * as directives from 'vuetify/directives'
const vuetify = createVuetify({
  components,
  directives,
})


const app = createApp(App)

// 全局组件
import MyFooter from "@/views/parts/MyFooter.vue"
app.component('MyFooter', MyFooter)

app.use(router)
app.use(mypinia)
app.use(vuetify)


app.mount('#app')


